package com.lorgeoux.android.parking.bean;

import java.util.Date;

public class BeanInfoParking implements Comparable<BeanInfoParking> {

	private String nom;
	private String ville;
	private Long placeDisponible;
	private Short identifiant;
	private Short statut;
	private Long ngPlaceMiniComplet;
	private Date horodatage;
	
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public String getVille() {
		return ville;
	}
	public void setVille(String ville) {
		this.ville = ville;
	}
	public Long getPlaceDisponible() {
		return placeDisponible;
	}
	public void setPlaceDisponible(Long placeDisponible) {
		this.placeDisponible = placeDisponible;
	}
	public int compareTo(BeanInfoParking otherBean) {
		if (this.getNom() != null && otherBean.getNom() != null) {
			return this.getNom().compareTo(otherBean.getNom());
		}
		return 0;
	}
	public Short getIdentifiant() {
		return identifiant;
	}
	public void setIdentifiant(Short identifiant) {
		this.identifiant = identifiant;
	}
	public Short getStatut() {
		return statut;
	}
	public void setStatut(Short statut) {
		this.statut = statut;
	}
	public Long getNgPlaceMiniComplet() {
		return ngPlaceMiniComplet;
	}
	public void setNgPlaceMiniComplet(Long ngPlaceMiniComplet) {
		this.ngPlaceMiniComplet = ngPlaceMiniComplet;
	}
	public Date getHorodatage() {
		return horodatage;
	}
	public void setHorodatage(Date horodatage) {
		this.horodatage = horodatage;
	}
	
}
